﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
using AbstractFramework.LogicControl;

namespace AbstractFramework.Statistic
{
    public interface IStatistic
    {
        ITimer GlobalTimer
        {
            get;
            set;
        }
         ITimer[] time
        {
            get;
            set;
        }
        long[] idleTime
        {
            get;
            set;
        }
        int[] PeopleSum
        {
            get;
            set;
        }
        int[] currentPeople
        {
            get;
            set;
        }

        void updateTime(int ID);//更新相应电梯的累计空闲时间，供controller调用
        void updatePeopleSum(int ID, int increment);//更新相应电梯的累计人数，供界面调用
        string saveStatResult(); //把最后结果存到文件中去
    }
}
